<#assign dateformat="com.enation.framework.directive.DateformateDirective"?new()>
<div class="tableform">

<table cellspacing="0" cellpadding="0" border="0" width="100%">
	<tbody>
		<tr>
			<td style="vertical-align: top;">
	 
			<h4>收款单据列表</h4>
		
			<div class="division">
			
			<#if payLogList?exists && payLogList?size gt 0 >
			<table cellspacing="0" cellpadding="0" border="0" width="100%"
				class="gridlist">
				<col class="Coldate">
				<col class="Colamount">
				<col>
				<col>
				<thead>
					<tr>
						<th>支付类型</th>
						<th>支付方式</th>
						<th>流水号</th>
						<th>付款日期</th>
						<th>支付金额</th>					 
						<th>状态</th>
					</tr>
				</thead>
				<tbody>
					<#list  payLogList as payment >
					 
					<tr>
						
						<td>
							<#if payment.type==1>在线支付</#if>
							<#if payment.type==2>线下支付</#if>
						</td>
					
						<td>
							${payment.pay_method}
						</td>
						
						<td>
							${payment.sn}
						</td>
						<td>
						 <@dateformat pattern="yyyy-MM-dd HH:mm:ss" time="${ (payment.pay_date*1000)?c}" />
						</td>
						<td> 
							${payment.money?string("currency")}
						</td>
					 
						<td>
							<#if payment.status==1 >已确认</#if>
							<#if payment.status==0>未确认</#if>
						</td>
					</tr>
					
					</#list>
					
				</tbody>
			</table>
			<#else>
			此订单无付款信息
			</#if>
			</div>
			 
		 
			</td>
			</tr>
			<tr>
			
			<td style="vertical-align: top;">
			 
			<h4>退款单据列表</h4>
			<div class="division">
			
			<#if refundList?exists && refundList?size gt 0 >
			<table cellspacing="0" cellpadding="0" border="0" width="100%"
				class="gridlist">
				<col class="Coldate">
				<col class="Colamount">
				<thead>
					<tr>
						<th>退款类型</th>
						<th>退款方式</th>
						<th>流水号</th>
						<th>退款日期</th>
						<th>退款金额</th>
						 
					</tr>
				</thead> 
				<tbody>
					<#list  refundList as payment >
					 
					<tr>
						<td>
							<#if payment.type==1>在线支付</#if>
							<#if payment.type==2>线下支付</#if>
						</td>
						<td>
							${payment.pay_method}
						</td>
						<td>
							${payment.sn}
						</td>
						<td>
						 	<@dateformat pattern="yyyy-MM-dd HH:mm:ss" time="${ (payment.pay_date*1000) ?c}" />
						</td>
						<td>
							${payment.money ?string("currency")}
						</td>
					</tr>
					
					</#list>
				</tbody>
			</table>
			<#else>
				此订单无退款信息
			</#if>
			
			</div>
			 
			</td>
		</tr>
	</tbody>
</table>
</div>